package com.example.travel.mapper;

import com.example.travel.pojo.orm.FriendsUser;
import com.example.travel.pojo.orm.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FriendsUserMapper {
    List<FriendsUser> getFriendsByUserId(int userId);

    FriendsUser getFriendUser(int userId,int friendId);

    int addFriendUser(FriendsUser friendsUser);
}
